[gtktextbuffer] Annotate gtk_text_buffer_create_mark()
authorSteve Frécinaux <code@istique.net>
Mon, 7 Jun 2010 21:45:43 +0000 (23:45 +0200)
committerSteve Frécinaux <code@istique.net>
Mon, 7 Jun 2010 22:00:28 +0000 (00:00 +0200)
Add (transfer none) to the return value of gtk_text_buffer_create_mark(),
as the documentation clearly states the caller doesn't have ownership of
the returned value.

gtk/gtktextbuffer.c

index dca5686e466f7897e277e04a8c3cabcb2028b260..44cb322e0aa5dca61383dea9a98b316911ce2c31 100644 (file)
@@ -2083,7 +2083,7 @@ gtk_text_buffer_set_mark (GtkTextBuffer     *buffer,
  * Emits the "mark-set" signal as notification of the mark's initial
  * placement.
  *
- * Return value: the new #GtkTextMark object
+ * Return value: (transfer none): the new #GtkTextMark object
  **/
 GtkTextMark*
 gtk_text_buffer_create_mark (GtkTextBuffer     *buffer,